//
//  CultureTableViewCell.m
//  Shengzhuli
//
//  Created by 卡忙科技 on 16/7/29.
//  Copyright © 2016年 kamangkeji. All rights reserved.
//

#import "CultureTableViewCell.h"
#import <UIImageView+WebCache.h>

@interface CultureTableViewCell()

@property (weak, nonatomic) IBOutlet UIImageView *iconImageView;
@property (weak, nonatomic) IBOutlet UILabel *titleLab;
@property (weak, nonatomic) IBOutlet UILabel *subTitle;


@end
@implementation CultureTableViewCell

- (void)setModel:(ArticleListModel *)model
{
    _model = model;
    [self.iconImageView sd_setImageWithURL:[NSURL URLWithString:model.portraitUrl] placeholderImage:GetImage(@"default_goods_image")];
    self.titleLab.text = model.title;
    self.subTitle.text = model.formatCreateDate;
}

@end
